/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/10/17 10:16
 * @Copyright
 */
package itSystemCase7.service;
import itSystemCase7.dao.QQDao;
import itSystemCase7.domain.QQBean;
import java.util.List;
public class QQService {
    //Service都依赖dao
    private static QQDao QQDao =new QQDao();

    public void deleteUser(int id) {
        QQDao.deleteUser(id);
    }

    public void addUser(QQBean qq) {
        QQDao.addUser(qq);
    }

    public List<QQBean> showUser() {
        return QQDao.showUser();
    }

    public void updateOnLineDays(int id) {
       QQDao.updateOnLineDays(id);
    }

}
